package com.tongtian.mychess;

/**
 * Created by tongtian on 2017/11/9.
 */
public class ModelList {

    private int mapImage;
    private Pieces pieces;
    private int pieceImage;
    private int pieceType;//类型 1-蓝方，2-红方

    private int x;//横方向左边
    private int y;//纵方向左边

    private boolean isSel = false;

    public boolean isSel() {
        return isSel;
    }

    public void setSel(boolean isSel){
        this.isSel =isSel;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getMapImage() {
        return mapImage;
    }

    public void setMapImage(int mapImage) {
        this.mapImage = mapImage;
    }

    public Pieces getPieces() {
        return pieces;
    }

    public void setPieces(Pieces pieces) {
        this.pieces = pieces;
    }

    public int getPieceImage() {
        return pieceImage;
    }

    public void setPieceImage(int pieceImage) {
        this.pieceImage = pieceImage;
    }

    public int getPieceType() {
        return pieceType;
    }

    public void setPieceType(int pieceType) {
        this.pieceType = pieceType;
    }

    @Override
    public String toString() {
        return "ModelList{" +
                "isSel=" + isSel +
                ", mapImage=" + mapImage +
                ", pieces=" + pieces +
                ", pieceImage=" + pieceImage +
                ", pieceType=" + pieceType +
                ", x=" + x +
                ", y=" + y +
                '}';
    }
}
